package com.bussiness.config.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: zyj
 * @create: 2020-01-09 14:00
 **/
@Component
@PropertySource("classpath:system.properties")
public class SystemProperties {

    @Value("${user.root.id}")
    private Long rootId;

    public Long getRootId() {
        return rootId;
    }

    public void setRootId(Long rootId) {
        this.rootId = rootId;
    }
}
